package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="assembly_defect_info" )
public class AssemblyDefectInfo  implements Serializable {
	private static final long serialVersionUID =  528056735651955030L;

	/**
	 * 组装缺陷id
	 */
   	@Id
	private Long assemblyDefectId;

	/**
	 * 周转划伤
	 */
   	@Column(name = "turnover_scratch" )
	private Long turnoverScratch;

	/**
	 * 是否得到id
	 */
   	@Column(name = "get_id" )
	private Long getId;

	public Long getAssemblyDefectId() {
		return this.assemblyDefectId;
	}

	public void setAssemblyDefectId(Long assemblyDefectId) {
		this.assemblyDefectId = assemblyDefectId;
	}

	public Long getTurnoverScratch() {
		return this.turnoverScratch;
	}

	public void setTurnover_Scratch(Long turnover_Scratch) {
		this.turnoverScratch = turnover_Scratch;
	}

	public Long getGetId() {
		return this.getId;
	}

	public void setGetId(Long getId) {
		this.getId = getId;
	}

	@Override
	public String toString() {
		return "AssemblyDefectInfo{" +
				"assemblyDefectId=" + assemblyDefectId +
				", turnover_Scratch=" + turnoverScratch +
				", getId=" + getId +
				'}';
	}
}
